package org.mms.service;

import org.mms.pojo.entity.Vehicle;
import org.mms.pojo.request.VehicleRequest;

import java.util.List;

public interface VehicleService {
    List<Vehicle> list();
    Vehicle getById(Long id);
    Vehicle create(VehicleRequest request);
    Vehicle update(VehicleRequest request);
    void delete(Long id);
}